package com.ophiux.cs.application.token.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.cs.application.core.Throws.ParamException;
import com.ophiux.utils.common.StringUtil;

public class verUserTokenRequest extends RequestDTO{

	
	/**
	 * 需要验证的token
	 */
	private String TOKEN;
	
	

	public String getTOKEN() {
		return TOKEN;
	}

	public void setTOKEN(String tOKEN) {
		TOKEN = tOKEN;
	}

	public void verParam() throws ParamException{
		if(StringUtil.isEmpty(this.TOKEN)) {
			throw new ParamException("用户TOKEN不可为空");
		}
	}
	
	@Override
	public boolean isParamValid() {
		return false;
	}

}
